package com.gxa.mapper;

import com.gxa.param.ServeParam;
import com.gxa.param.TableParam;
import com.gxa.pojo.Empl;
import com.gxa.pojo.Serve;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServeMapper {
//    List<Serve> findAll(@Param("param") TableParam param);
    List<Serve> findAll(@Param("param") ServeParam param);

    /**
     * 添加数据
     * @param serve
     */
    void save(@Param("serve") Serve serve);

    void delone(@Param("serveId") Integer serveId);

    void deleteAll(@Param("ids") String[] ids);


    Serve findByPk(Integer id);

    void edit(@Param("serve") Serve serve);

    void submitAll(@Param("ids") String[] ids);

    void view(@Param("serve") Serve serve);



    void allocatePending(@Param("serve") Serve serve);

    void conductStatus(@Param("serve") Serve serve);
}



